package com.easylinkin.linkappapi.grid.models.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 网格评比表
 *
 * @author
 * @since 2024-05-16
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GridAppraiseFlagDTO implements Serializable {
    private static final long serialVersionUID = 1L;


    @NotNull(message = "ID不能为空")
    private Integer id;

    /**
     * type:1红旗 2黄旗
     */
    @NotNull(message = "类型不能为空")
    private Integer type;

    /**
     * 黄旗单位ID
     */
    @NotBlank(message = "单位ID不能为空")
    private String companyId;


}
